from basic.utils.asserts import asserts
from basic.UIParent import UIParent
from commen.page.ann.cardPage import cardPage
from test.help.pocesuiteDome import Steps


class CardCase(UIParent):

    @classmethod
    def test_card(self):
        '''生活卡包列表已申领校验'''

        # 登录
        Steps.do_login()
        # 点击生活卡包
        cardPage.clickCard()
        cardNum = cardPage.getMyCard()
        asserts.equal(cardNum, 2, "已申领两张卡校验")




